package com.jsmile.cloud.msgcenter.zf.req.ali;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author xiao
 * @since 2021/5/30
 */
@Data
public class AliServiceMarketOrderNotifyResponse {
    @ApiModelProperty(value = "通知校验 ID，唯一标识一笔通知")
    @JSONField(name = "notify_id")
    private String notifyId;

    @ApiModelProperty(value = "通知类型")
    @JSONField(name = "notify_type")
    private String notifyType;

    @ApiModelProperty(value = "通知发送时间 通知发送时间 UTC+8，格式为yyyy-MM-dd HH:mm:ss。若为其它时区的服务器时间请自行转换")
    @JSONField(name = "notify_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "UTC+8")
    private Date notifyTime;

    @ApiModelProperty(value = "签名")
    @JSONField(name = "sign")
    private String sign;

    @ApiModelProperty(value = "签名类型")
    @JSONField(name = "sign_type")
    private String signType;

    @ApiModelProperty(value = "订单编号")
    @JSONField(name = "commodity_order_id")
    private String commodityOrderId;

    @ApiModelProperty(value = "订购时间")
    @JSONField(name = "order_time")
    private String orderTime;

    @ApiModelProperty(value = "服务名称")
    @JSONField(name = "title")
    private String title;

    @ApiModelProperty(value = "商户名称")
    @JSONField(name = "name")
    private String name;

    @ApiModelProperty(value = "商户uid")
    @JSONField(name = "merchant_pid")
    private String merchantPid;

    @ApiModelProperty(value = "联系人")
    @JSONField(name = "contactor")
    private String contactor;

    @ApiModelProperty(value = "联系电话")
    @JSONField(name = "phone")
    private String phone;

    @ApiModelProperty(value = "门店数")
    @JSONField(name = "order_item_num")
    private String orderItemNum;

    @ApiModelProperty(value = "订单价格")
    @JSONField(name = "total_price")
    private String totalPrice;

    @ApiModelProperty(value = "所属业务分类（例如：排队）")
    @JSONField(name = "biz_type")
    private String bizType;

    @ApiModelProperty(value = "订单授权码")
    @JSONField(name = "order_ticket")
    private String orderTicket;

    @ApiModelProperty(value = "服务码")
    @JSONField(name = "service_code")
    private String serviceCode;

    @ApiModelProperty(value = " ticket 的值")
    @JSONField(name = "isv_ticket")
    private String isvTicket;

    @ApiModelProperty(value = "小程序id")
    @JSONField(name = "consumer_miniAppId")
    private String consumerMiniAppId;

    @ApiModelProperty(value = "商家门店id")
    @JSONField(name = "merchant_shop_id")
    private String merchantShopId;

    @ApiModelProperty(value = "小程序发布的端信息，支持多个端时使用英文逗号分隔。 1032=支付宝，1033=钉钉，1034=高德，1050=淘宝，1051=天猫精灵，1053=香港版支付宝，1055=mPaaS，1096=支付宝IoT，3727=阿里车")
    @JSONField(name = "miniapp_release_bundle")
    private String miniAppReleaseBundle;
}
